package com.qly.jsoup.service.config;

import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.context.annotation.Configuration;
import org.springframework.context.annotation.PropertySource;

/**
 * Created by Andy ye on 2018/8/22.
 */
@Configuration
@PropertySource("classpath:website.properties")
@ConfigurationProperties(prefix = "zhilian.website.jobs")
public class WebsiteConfig {

    private String url;//爬取页面
    private String area;//爬取区域
    private String keywords;//岗位关键字
    private String page;//分页信息

    public String getUrl() {
        return url;
    }

    public void setUrl(String url) {
        this.url = url;
    }

    public String getArea() {
        return area;
    }

    public void setArea(String area) {
        this.area = area;
    }

    public String getKeywords() {
        return keywords;
    }

    public void setKeywords(String keywords) {
        this.keywords = keywords;
    }

    public String getPage() {
        return page;
    }

    public void setPage(String page) {
        this.page = page;
    }
}
